package shop.up.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * 商品服务启动类 {@link ServiceProductApplication}
 *
 * @author Kevin
 * @date 2022/7/2
 */
@SpringBootApplication
@ComponentScan({"shop.up"})
@EnableDiscoveryClient // 开启服务注册与发现
public class ServiceProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceProductApplication.class, args);
    }
}